Mapping and Visiting in Functional and Object-Oriented Programming.

نویسندگان
چکیده

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Mapping and Visiting in Functional and Object-Oriented Programming

class Exp{public abstract T Accept(Visitor v, D x);}class PlusExp : Exp {private Exp e1, e2;public PlusExp(Exp a, Exp b){e1 = a;e2 = b;}public Exp LeftOperand{get {return e1;}}public Exp RightOperand{get {return e2;}}public override T Accept(Visitor v, D x){return v.Visit(this, x);}} class TimesExp : Exp {private Ex...

متن کامل

Object-Oriented Programming, Functional Programming and R

This paper reviews some programming techniques in R that have proved useful, particularly for substantial projects. These include several versions of object-oriented programming, used in a large number of R packages. The review tries to clarify the origins and ideas behind the various versions, each of which is valuable in the appropriate context. R has also been strongly influenced by the idea...

متن کامل

Unifying Functional and Object - Oriented Programming with

class GraphsModel extends Graphs { class Graph(val nodes: Set[Node], val edges: Set[Edge])

متن کامل

Functional Object-Oriented Programming with Object-Gofer

Object-Gofer is a small, practical extension of the functional programming language Gofer incorporating the following ideas from the object-oriented community: objects and toplevel classes, subtype and implementation inheritance, method redefinition, late binding and self type specialization. The semantics of Object-Gofer is defined by translation into pure Gofer. Although this restricts the de...

متن کامل

Functional Programming at Work in Object-Oriented Programming

This paper is a synthesis about why and how some functional programming (FP) can be helpful from a program design point-of-view within mainstream object-oriented programming (OOP). We first introduce criteria to ensure that FP-oriented features give an effective functional/method granularity design level within OOP. Next, we list up and discuss the general techniques and design consequences of ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: The Journal of Object Technology

سال: 2008

ISSN: 1660-1769

DOI: 10.5381/jot.2008.7.7.a2